package Facades;

import Entities.Turno;
import Controllers.TurnoFacade;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.inject.Named;
import javax.inject.Inject;
import javax.enterprise.context.SessionScoped;

@Named(value = "turnoController")
@SessionScoped
public class TurnoController extends AbstractController<Turno> implements Serializable {

    @Inject
    private TurnoFacade ejbFacade;

    public TurnoController() {
        super(Turno.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }
}
